﻿using Axis.Web.Administrator.Global;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Xml;
using Axis.BusinessObject.Core;

namespace Axis.Web.Views.Project
{
    public partial class ProjectList : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            var IsAuthenticated = false;
            var member = new CMemberList();
            if (Session["MEMBERINFO"] != null)
            {
                member = Session["MEMBERINFO"] as CMemberList;
                IsAuthenticated = member.ID != 0;
            }
            if (IsAuthenticated)
            {
                pnlPrivateBox.Visible = true;
            }  
            if (!IsPostBack) {
               ltrProjectListItem.Text = new CProjectUI(member).GetProjectList();
            }



        }
       
    }
}